/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package deatax;

/**
 *
 * @author pson
 */
public class ResourceAmount {
    
    private Resource resource;
    private int amount;

    public ResourceAmount(Resource resource, int amount) {
        this.resource = resource;
        this.amount = amount;
    }

    public void addAmount(int amount) {
        this.amount += amount;
    }
    
    public int getAmount() {
        return amount;
    }

    public Resource getResource() {
        return resource;
    }

    void setAmount(int amt) {
        this.amount = amt;
    }
    
    
}
